package cn.gok.common.entity.goods;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
/**
 * @author shikundai
 * @date 2020/12/9
 * @time 14:18
 * @description 商品信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("g_goods")
public class Goods {
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:18
     * @description 商品ID
     */
    @TableId(value = "GOODS_ID")
    private String goodsId;

    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:19
     * @description 商品唯一货号
     */
    @TableField("GOODS_SN")
    private String goodsSn;

    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:19
     * @description 商品名称
     */
    @TableField("GOODS_NAME")
    private String goodsName;

    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:19
     * @description 商品简略标题
     */
    @TableField("GOODS_TITLE")
    private String goodsTitle;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:20
     * @description 商品关键字
     */
    @TableField("KEYWORDS")
    private String keywords;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:20
     * @description 商品分类ID
     */
    @TableField("CATY_ID")
    private String catyId;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:20
     * @description 商品分类编码
     */
    @TableField("CATY_SN")
    private String catySn;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:21
     * @description 商品所属店铺编码
     */
    @TableField("BUSINESS_SN")
    private String businessSn;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:21
     * @description 商品生产日期
     */
    @TableField("EFFECTIVE_DATE")
    private String effectiveDate;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:21
     * @description 商品有效期
     */
    @TableField("EXPIRY_DAYS")
    private Integer expiryDays;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:22
     * @description 商品的简短描述
     */
    @TableField("GOODS_BRIEF")
    private String goodsBrief;

    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:23
     * @description 商品市场售价（分）
     */
    @TableField("MARKET_PRICE")
    private Integer marketPrice;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:23
     * @description 商品折扣
     */
    @TableField("DISCOUNT")
    private Integer discount;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:24
     * @description 本店售价
     */
    @TableField("SHOP_PRICE")
    private Integer shopPrice;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:24
     * @description 成本价
     */
    @TableField("COST_PRICE")
    private Integer costPrice;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:24
     * @description 促销价
     */
    @TableField("PROMOTE_PRICE")
    private Integer promotePrice;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:24
     * @description 促销开始时间
     */
    @TableField("PROMOTE_START_DATE")
    private String promoteStartDate;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:25
     * @description 促销结束时间
     */
    @TableField("PROMOTE_END_DATE")
    private String promoteEndDate;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:25
     * @description 优惠券编号
     */
    @TableField("COUPON_SN")
    private String couponSn;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:25
     * @description 是否删除（0：否 1：是）
     */
    @TableField("IS_DEL")

    private Integer isDel;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:46
     * @description 是否开授（1：是  0：否）
     */
    @TableField("IS_ONSALE")
    private Integer isOnsale;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:47
     * @description 是否允许被评论（1：是  0：否）
     */
    @TableField("IS_COMMENT")
    private Integer isComment;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:48
     * @description 快递费
     */
    @TableField("SHIP_FEE")
    private Integer shipFee;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:50
     * @description 商品排序值
     */
    @TableField("SORT_ORL")
    private Integer sortOrl;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:48
     * @description 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:48
     * @description 创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:48
     * @description 更新时间
     */
    @TableField("UPDATE_TIME")
    private String updateTime;
    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 15:49
     * @description 更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;

    /**
     * @author shikundai
     * @date 2020/12/9
     * @time 14:22
     * @description 商品详细描述
     */
    @TableField("GOODS_DESC")
    private String goodsDesc;
}